package com.framework.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.framework.dao.OrderNoticeDao;
import com.framework.entity.tran.OrderNotice;
import com.framework.service.OrderNoticeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 功能描述: 订单记录关系
 * @author wq
 */
@Service("orderNoticeService")
public class OrderNoticeServiceImpl extends ServiceImpl<OrderNoticeDao,OrderNotice> implements OrderNoticeService {

    @Transactional(rollbackFor = Exception.class)
    @Override
    public void insertOrderNotice(OrderNotice orderNotice){
        this.baseMapper.insert(orderNotice);
    }
}

